package com.dyh.intf.consumer;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/*
@Author=Joey Wheeler
@Date=2020/10/20 10:02
*/
@Configuration
public class RestTempConf {

    @Bean
    RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
